package com.dcits.idea.util;

import com.dcits.idea.data.NodeData;

/**
 * @Author tangmqb DCITS
 * @DATE 2021/11/4 10:41
 * @Version 1.0.0
 */
public class CoverNodeData {

    public static String[] coverToArr(NodeData data) {
        String[] result = new String[5];
        result[0] = data.getTitle();
        result[1] = data.getMark();
        result[2] = data.getContent();
        result[3] = data.getFileName();
        result[4] = data.getFileType();
        return result;

    }
}
